package script;

import interFace.treeInterface;

import java.util.Vector;

public class tree implements treeInterface {

	private String root;
	private Vector<String> leaf = new Vector<String>();

	/*
	 * (non-Javadoc)
	 * 
	 * @see script.treeInterface#getRoot()
	 */
	@Override
	public String getRoot() {
		return root;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see script.treeInterface#setRoot(java.lang.String)
	 */
	@Override
	public void setRoot(String root) {
		this.root = root;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see script.treeInterface#getLeaf()
	 */
	@Override
	public Vector<String> getLeaf() {
		return leaf;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see script.treeInterface#setLeaf(java.util.Vector)
	 */
	@Override
	public void setLeaf(Vector<String> leaf) {
		this.leaf = leaf;
	}

}
